<meta http-equiv="content-type" content="text/html; charset=utf-8">
<?php
require_once './model/db.php';
$query = " SELECT * FROM pages";
$apps = getPage($query);
?>
<form method="POST">
    Max Page :   <input type="text" name="max">.<br>
    Min Page :   <input type="text" name="min">.<br>
    <input type="submit" name="submit" value="Search">
</form>
